package com.zmn.oms.dubbo.interfaces.zmn.normal.work;

import com.zmn.oms.dubbo.dto.common.work.WorkAmountDIO;
import com.zmn.oms.dubbo.dto.common.work.WorkPayDIO;


/**
 * 类描述：啄木鸟-普通单-工单金额
 * @author heciqi
 * @date 2018/11/22 15:57
 */
public interface ZsNormalWorkAmountRemoteService {

	/**
	 * 修改预付款
	 * @param orderAmountDIO
	 * @return 影响行数
	 */
	void updatePrepayAmount(WorkAmountDIO orderAmountDIO);

	/**
	 * 预付款支付
	 * @param orderWorkPayDIO
	 * @return 影响行数
	 */
	void updatePrepayAmountPay(WorkPayDIO orderWorkPayDIO);

	/**
	 * 修改定金
	 * @param orderAmountDIO
	 * @return 影响行数
	 */
	void updateDepositAmount(WorkAmountDIO orderAmountDIO);

	/**
	 * 定金支付
	 * @param orderWorkPayDIO
	 * @return 影响行数
	 */
	void updateDepositAmountPay(WorkPayDIO orderWorkPayDIO);

	/**
	 * 修改工程师收款
	 * @param orderAmountDIO
	 * @return 影响行数
	 */
	void updateMasterAmount(WorkAmountDIO orderAmountDIO);

	/**
	 * 工程师收款支付
	 * @param orderWorkPayDIO
	 * @return 影响行数
	 */
	void updateMasterAmountPay(WorkPayDIO orderWorkPayDIO);

	/**
	 * 修改优惠金额
	 * @param orderAmountDIO
	 * @return 影响行数
	 */
	void updateDiscountAmount(WorkAmountDIO orderAmountDIO);

	/**
	 * 优惠金额支付
	 * @param orderWorkPayDTO
	 * @return 影响行数
	 */
	void updateDiscountAmountPay(WorkPayDIO orderWorkPayDTO);

	/**
	 * 修改退款金额
	 * @param orderAmountDIO
	 * @return 影响行数
	 */
	void updateRefundAmount(WorkAmountDIO orderAmountDIO);

	/**
	 * 退款金额支付
	 * @param orderWorkPayDTO
	 * @return 影响行数
	 */
	void updateRefundAmountPay(WorkPayDIO orderWorkPayDTO);
}
